package com.google.code.ojar.sendtemplatemail.app.dto;

import java.io.Serializable;

/**
 * Java Bean that represent a not sended mail
 * @author ottoabreu
 *
 */
public class NotSendMail implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String msgGenerator;
	private Mail mailBean;
	private int retryCount;
	private String fileName;

	
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public int getRetryCount() {
		return retryCount;
	}
	public void setRetryCount(int retryCount) {
		this.retryCount = retryCount;
	}
	
	public Mail getMailBean() {
		return mailBean;
	}
	public void setMailBean(Mail mailBean) {
		this.mailBean = mailBean;
	}
	public NotSendMail() {
		super();
	}
	public NotSendMail(String msgGenerator, Mail mailBean) {
		super();
		this.msgGenerator = msgGenerator;
		this.mailBean = mailBean;
	}
	public String getMsgGenerator() {
		return msgGenerator;
	}
	public void setMsgGenerator(String msgGenerator) {
		this.msgGenerator = msgGenerator;
	}
}
